﻿using GalaSoft.MvvmLight;
using NaireSystem;
using NaireSystem.ViewModels;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NaireSystem.ViewModels
{
    public class ViewModelNaireEditQt : ViewModelBase
    {
        public ViewModelNaireEditQt()
        {
            //ListQtType.Add(new IntStringData { Key = (int)EnumQtType.SingleSelect, Value = "单选题" });
            //ListQtType.Add(new IntStringData { Key = (int)EnumQtType.MutilSelect, Value = "多选题" });
            //ListQtType.Add(new IntStringData { Key = (int)EnumQtType.TrueFalse, Value = "对错题" });
            //ListQtType.Add(new IntStringData { Key = (int)EnumQtType.ShortAnswer, Value = "简答" });

            //SelectQtType = ListQtType[0];
        }
        private ObservableCollection<IntStringData> _ListTag = new ObservableCollection<IntStringData>();
        public ObservableCollection<IntStringData> ListTag { get { return _ListTag; } set { Set("ListTag", ref _ListTag, value); } }

        private IntStringData _SelectTag;
        public IntStringData SelectTag { get => _SelectTag; set => Set("SelectTag", ref _SelectTag, value); }



        private QtModel _QtModel;
        public QtModel QtModel { get => _QtModel; set => Set("QtModel", ref _QtModel, value); }

        //private ObservableCollection<IntStringData> _ListQtType = new ObservableCollection<IntStringData>();
        //public ObservableCollection<IntStringData> ListQtType { get { return _ListQtType; } set { Set("ListQtType", ref _ListQtType, value); } }


        //private IntStringData _SelectQtType;
        //public IntStringData SelectQtType { get => _SelectQtType; set => Set("SelectQtType", ref _SelectQtType, value); }


        //private bool _IsMYDChecked = false;
        //public bool IsMYDChecked { get => _IsMYDChecked; set => Set("IsMYDChecked", ref _IsMYDChecked, value); }




    }
}
